#include <CommandDelete.h>
Inheritance diagram for CommandDelete:

Public Member Functions | |
| CommandDelete (OSGWindows *osgwind) | |
| CommandDelete (OSGWindows *osgwind, TraffEduObject *obj) | |
| bool | execute () |
| bool | unexecute () |
Private Attributes | |
| OSGWindows * | osgwind_ |
| vector< TraffEduObject * > | deletedObjs_ |
| int | rightCLK |
| TraffEduObject * | obj_ |
|
|
A constructor. Initializes osgwind_ and rightCLK variables. It is called if the delete operation is done from the menubar.
|
|
||||||||||||
|
A constructor. Initializes osgwind_, obj_, and rightCLK variables. It is called if the delete operation is done from the menubar.
|
|
|
do the delete operation.
Implements Command. |
|
|
undo the delete operation.
Implements Command. |
|
|
a private vector of TraffEduObjects. It holds the deleted objects. |
|
|
a private variable. It is used to hold the deleted object. |
|
|
a private variable. It is initialized with the unique OSGWindows instance. |
|
|
a private variable. It shows if the CommandDelete is called from the RightClickMenu or not. |
1.4.6-NO